local skel = fk.CreateSkill {
  name = "emo__fuzhou",
  tags = {Skill.Compulsory},
}

Fk:loadTranslationTable{
  ["emo__fuzhou"] = "负咒",
  [":emo__fuzhou"] = "锁定技，你的额定摸牌数与手牌上限等于你的已损失体力值。",
}

skel:addEffect(fk.DrawNCards, {
  anim_type = "negative",
  can_trigger = function (self, event, target, player, data)
    return player:hasSkill(skel.name) and target == player
  end,
  on_use = function (self, event, target, player, data)
    data.n = player:getLostHp()
  end,
})

skel:addEffect("maxcards", {
  fixed_func = function(self, player)
    if player:hasSkill(skel.name) then
      return player:getLostHp()
    end
  end
})

return skel
